package cn.wolfcode.cms.service;


import cn.wolfcode.cms.domain.Present;
import cn.wolfcode.cms.query.QueryObject;

import java.util.List;

//部门服务层
public interface IPresentService {
    void save(Present entity);
    void update(Present entity);
    void delete(Long id);
    Present get(Long id);
    List<Present> list();

    //通过参数查询分页数据
    Object query(QueryObject qo);

    void updateTotalNum(Long preid, Integer prenum);
}
